<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@page language="java"%>
<%@page import="java.util.*" %>
<jsp:directive.page import="com.etown.dao.DBPool"/>
<jsp:directive.page import="java.sql.Connection"/>
<jsp:directive.page import="com.etown.util.SqlMgr"/>
<jsp:directive.page import="com.etown.dao.CommonDAO"/>
<jsp:directive.page import="net.sf.json.JSONObject"/>
<jsp:directive.page import="net.sf.json.JSONArray"/>
<%
	String userName=request.getParameter("userName");
	String password=request.getParameter("password");
	System.out.println(userName);
	System.out.println(password);
	Connection conn=DBPool.getConnection();
	System.out.println(conn);
	System.out.println(SqlMgr.getSql("UPDATE_USER_STATE"));
	JSONArray obj=CommonDAO.getList(SqlMgr.getSql("GET_ALL_USER"));
	System.out.println(obj.toString());
%>